package butines.core.game;

public class Sound {

	private Audio audio;
	private String path;
	private byte[] samples;
	
	protected Sound(Audio audio, String path, byte[] samples) {
		this.audio =  audio;
		this.path = path;
		this.samples = samples;
	}

	public String getPath() {
		return path;
	}

	public byte[] getSamples() {
		return samples;
	}

	public void play() {
		audio.play(this);
	}
	
}
